package com.shuker.design.abstarct;

import java.util.concurrent.TimeUnit;

/**
 * @author ：Shuker
 * @date ：Created in 2022/1/11 17:16
 * @description：
 * @version:
 */
public interface CacheService {
    String get(final String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);
}
